package wsepForum.network.server;

import java.net.Socket;


/**
 * Used to create new connection handler once a client connects
* @author Oren Ben-Haim
*
*/
public interface IConnectionHandlerFactory {

	/**
	 * create new connection handler once a client connects
	 * @param socket connection socket
	 * @return new handler
	 */
	public ConnectionHandler<?> newHandler(Socket socket);
}
